{% extends '::base.html.twig' %}
{% block body %}
<div id="search-results" class="box noHeader">
    <div class="inner">
        <div class="top">
            <div id="helpText" class="helpText">
                <input id="btnAdd" class="" type="button" value="Add" name="btnAdd">
                <input id="btnDelete" class="delete" type="submit" data-target="#deleteConfModal" data-toggle="modal" value="Delete" name="btnDelete" disabled="disabled">
            </div>
        </div>
        <div id="scrollWrapper"></div>
        <div id="tableWrapper">
            <table id="resultTable" class="table hover">
                <thead>
                    <tr>
                        <th class="checkbox-col" rowspan="1">
                            <input id="ohrmList_chkSelectAll" type="checkbox" value="" name="chkSelectAll">
                        </th>
                        <th class="header" style="width:33%" rowspan="1">Nom Prénom</th>
                        <th class="header" style="width:20%" rowspan="1">Matricule</th>
                        <th class="header" style="width:33%" rowspan="1">Poste Occupé</th>
                        <th class="header" style="width:14%" rowspan="1">Action</th>
                    </tr>
                </thead>
                <tbody>
                        {% for user in users %}
                        <tr>
                            <td></td>
                            <td class="left">{{user.getFirstName}} {{user.username}}</td>
                            <td class="left">{{user.firstName}} {{user.lastName}}</td>
                            <td class="left">{{user.firstName}} {{user.lastName}}</td>
                            <td class="left">{{user.firstName}} {{user.lastName}}</td>
                        </tr>
                        
                         {% endfor %}
                    </tbody>
                </table>
            </div>
            <div class="bottom"></div>
        </div>
    </div>
    <script>
$('#btnAdd').click(function(){
$.ajax({
url: '{{path('')}}',
success: function(data){
}
})
})
        </script>

{% endblock %}